package cn.fsd.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Transfer {
    private String transfer_id;

    private String commodity_id;

    private String storeroom_id;

    private String station_id;

    private Integer transfer_sum;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") //处理响应
    @DateTimeFormat(pattern = "yyyy-MM-dd") //处理请求
    private Date outbound_date;

    private String transfer_status;

    private String order_id;

    private Integer path_choice;

}